export const main={
    newConnection:"New Connection",
    addConnectionDialogTitle:"AddConnection",
    editConnectionDialogTitle:"EditConnection",
    addKeyDialogTitle:"AddKey",
    configDialogTitle:"Config"
}

export const FormPlaceholder={
    Host:"Please enter Host",
    Port:"Please enter Port",
    Auth:"Please enter pwd (if not please ignore)",
    Name:"Please enter a connection name",
    OK:"OK",
    cancel:"cancel",
    PortFormatError:"Port format error",
    HostFormatError:"Host cannot be empty",
    NameFormatError:"Please enter a connection name"
}

export const ConnectionPrompt={
    ConnectionAlreadyExists:"The connection already exists！"
}

export const addKey={
    type:"type",
    PleaseChoose:"Please Choose",
    PleaseChooseTheType:"Please choose the type!"
}

export const homeVue={
    PleaseChoseDB:"Please select DB",
    addKey:"AddKey",
    PleaseEnterKeyWords:"Please enter key words",
    DisableSearchTips:"Key asynchronous loading, search is temporarily unavailable",
    WellCome:"Welcome to pdd-redis-client",
    contact:"If you encounter problems using this software, please contact the author's email:",
    KeyNotExist:"Key not found!",
    NoRelevantkeyMatched:"No relevant key matched",
    prompt:"prompt",
    ConfirmDeletion:"Are you sure you want to delete?",
    connection:"connection",
    Configuration:"config",
    cmd:"cmd",
    refresh:"refresh",
    edit:"edit",
    delete:"delete",
    connectionError:"Cannot connect to Redis"
}

export const RedisOperating={
    PleaseEnterTheKey:"Please enter the key",
    PleaseEnterTheValue:"Please enter the Value",
    addNewLine:"AddNewLine",
    editLine:"editLine",
    DataLoadingTips:"Data loading, search is temporarily unavailable",
    ReNameSuccess:"Renamed successfully",
    ExpirationTimeSetSuccessfully:"Expiration time set successfully",
    DeletedSuccessfully:"deleted successfully",
    addSuccess:"Added successfully",
    KeyAlreadyExistsHash:"The field already exists in this hash",
    KeyFieldValueCannotBeEmpty:"key/field/value cannot be empty, please check",
    addNewLineError:"The current row has been removed, but re-adding the row failed",
    rowRemError:"Failed to remove the current row",
    keyAndValueCannotBeEmpty:"key/value cannot be empty",
    AlreadyExistsSet:"The value already exists in this set",
    PleaseEnterScore:"Please enter score",
    PleaseEnterMamber:"Please enter mamber",
    keyScoreMemberCannotBeEmpty:"key/score/member cannot be empty, please check",
    AlreadyExistsZset:"The member already exists in this zset",
    format:"format",
    save:"save",
    saveSuccess:"Saved successfully",
    keyExists:"Target key already exists",
    connectionError:"Too many attempts to reconnect. Please check server status and server protection mode!"
}

export const server={
    redis_version:"redis_version",
    os:"os",
    process_id:"process_id",
    multiplexing_api:"multiplexing_api",
    redis_mode:"redis_mode",
    mem_allocator:"mem_allocator",
    used_memory_peak_human:"used_memory_peak_human",
    used_memory_human:"used_memory_human",
    used_memory_lua:"used_memory_lua",
    mem_fragmentation_ratio:"mem_fragmentation_ratio",
    connected_clients:"connected_clients",
    total_commands_processed:"total_commands_processed",
    instantaneous_ops_per_sec:"instantaneous_ops_per_sec",
    total_net_input_bytes:"total_net_input_bytes",
    total_net_output_bytes:"total_net_output_bytes",
    server:"Server",
    ram:"Ram",
    status:"Status",
    Statistics:"Key-value statistics",
    SysInfo:"System Info"
}

export const cmd={
    redis_cli:"Redis Cli",
    clear:"clear",
    close:"close",
    PleaseSelectConnection:"Please select a connection"
}

export const config={
    language:"language",
    version:"version",
    chooseLanguage:"Please select a language",
    updateSuccess:"Successfully modified"
}